﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace MathematicsEntity
{
    public class TestReportDataEntity
    {
        public int ClassId { get; set; }
        public string ClassName { get; set; }
        public int PeopleCount { get; set; }
        public int AveragePoint { get; set; }
        public int AverageRight { get; set; }
    }

    public class TestSearch
    {
        public string ClassIds { get; set; }
        public KSBQuestionType KSBQuestionType { get; set; }
        public KSBGradeType KSBGradeType { get; set; }
        public int KSBUnit { get; set; }
    }

    [XmlRoot("items")]
    public class CourseCollection
    {
        [XmlElement("item")]
        public Course[] Courses { get; set; }
    }

    public class Course
    {
        [XmlAttribute(AttributeName = "id")]
        public int id { get; set; }

        [XmlAttribute(AttributeName = "name")]
        public string name { get; set; }

        [XmlAttribute(AttributeName = "curriculum")]
        public int curriculum { get; set; }

        [XmlAttribute(AttributeName = "grade")]
        public int grade { get; set; }

        [XmlAttribute(AttributeName = "module")]
        public int module { get; set; }

        [XmlAttribute(AttributeName = "unit")]
        public int unit { get; set; }

        [XmlAttribute(AttributeName = "title")]
        public string title { get; set; }

        [XmlAttribute(AttributeName = "wordTable")]
        public int wordTable { get; set; }
    }
}
